/*
 * author      : dormi330
 * date        : 2018/6/27
 * description : TODO
 */

package com.deep.trade.order.dto;

import com.deep.trade.common.BaseDto;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class OutDtoTradeOrder extends BaseDto {

    private String tenantCode;
    private String id;
    private String orderType;                   // 订单类型 目前只支持普通订单 general
    private String sellerName;                  // 卖家名称
    private String channelCode;                 // 渠道编码
    private String channelName;                 // 渠道名称
    private String code;                        // 订单编码
    private String sellerId;                    // 卖家Id
    private String shopId;                      // 店铺Id
    private String memberId;                    // 会员Id
    private String memberName;                  // 会员名称
    private String remark;                      // 备注
    private String sellerRemark;                // 卖家备注
    private String status;                      // 订单状态, 枚举
    private BigDecimal payMoney;                // 支付金额
    private BigDecimal freightMoney;            // 运费金额
    private BigDecimal itemMoney;               // item金额
    private BigDecimal skuDiscountMoney;        //sku级优惠额度
    private BigDecimal shopDiscountMoney;       //sku级优惠额度
    private BigDecimal platformDiscountMoney;   //平台优惠
    private String auditRejectReason;           // 审核拒绝原因
    private Date auditedAt;                     // 审核时间
    private Date finishedAt;                    // 订单完成时间
    private String payType;                     // 支付类型 对公/对私
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;                     // 创建时间
    private Date updatedAt;                     // 最后更新时间, 不要在领域对象中操作此值

    public BigDecimal getSkuDiscountMoney() {
        return skuDiscountMoney;
    }

    public void setSkuDiscountMoney(BigDecimal skuDiscountMoney) {
        this.skuDiscountMoney = skuDiscountMoney;
    }

    public BigDecimal getShopDiscountMoney() {
        return shopDiscountMoney;
    }

    public void setShopDiscountMoney(BigDecimal shopDiscountMoney) {
        this.shopDiscountMoney = shopDiscountMoney;
    }

    public BigDecimal getPlatformDiscountMoney() {
        return platformDiscountMoney;
    }

    public void setPlatformDiscountMoney(BigDecimal platformDiscountMoney) {
        this.platformDiscountMoney = platformDiscountMoney;
    }

    public Date getFinishedAt() {
        return finishedAt;
    }

    public void setFinishedAt(Date finishedAt) {
        this.finishedAt = finishedAt;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSellerRemark() {
        return sellerRemark;
    }

    public void setSellerRemark(String sellerRemark) {
        this.sellerRemark = sellerRemark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getFreightMoney() {
        return freightMoney;
    }

    public void setFreightMoney(BigDecimal freightMoney) {
        this.freightMoney = freightMoney;
    }

    public BigDecimal getItemMoney() {
        return itemMoney;
    }

    public void setItemMoney(BigDecimal itemMoney) {
        this.itemMoney = itemMoney;
    }

    public String getAuditRejectReason() {
        return auditRejectReason;
    }

    public void setAuditRejectReason(String auditRejectReason) {
        this.auditRejectReason = auditRejectReason;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public Date getAuditedAt() {
        return auditedAt;
    }

    public void setAuditedAt(Date auditedAt) {
        this.auditedAt = auditedAt;
    }
}
